home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / docs / misc / ConcNews.lha / news / amiga.programming / comp.sys.amiga.programmer_32850_000060.msg < prev    next >
Encoding:
Text File  |  1994-11-27  |  1.3 KB  |  31 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: news.chalmers.se!sunic!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.duke.edu!godot.cc.duq.edu!newsfeed.pitt.edu!dsinc!scala!jesup
  3. From: jesup@scala.scala.com ("Randell Jesup")
  4. Subject: Re: Freeing system memory
  5. Message-ID: <1994May27.011200.9176@scala.scala.com>
  6. Date: Fri, 27 May 1994 01:12:00 GMT
  7. References: <zpb923a8Y8HbZ101@bamp.berlinet.in-berlin.de>
  8. Organization: SCALA, Inc.
  9. Lines: 22
  10.  
  11. >DA> if I use AvailMem it reports the maximum size of free chip/fastmem. To gain more free memory I can Closeworkbench().
  12. >DA> Does anyone have an idea of furthermore temporary CloseDowns which does not void the system,
  13.  
  14. >getmem(1000000000,...)
  15. >
  16. >If AmigaDos cannot find any memory-chunk of that size, it frees all
  17. >unused fonts and libraries in memory (normally they are not released
  18. >immediately after a "closelibrary"/"closefont"). Of course this getmem
  19. >will fail (return 0) but I'm sure AvailMem will show you more memory
  20. >as before.
  21.  
  22.     Be careful: on a machine with VM software, you might actually GET
  23. the 100 MB of "memory".  I advise being paranoid, and if the allocation
  24. by some chance succeeds, free the memory.
  25.  
  26. -- 
  27. Randell Jesup, Scala US R&D
  28. Randell.Jesup@scala.com
  29. Ex-Commodore-Amiga Engineer, class of '94
  30. #include <std/disclaimer>
  31.